package com.huaxin.hxcloud.frendcircles;

import android.content.Context;

import com.huaxin.common.frendcircle.listener.IDataRequestListener;

/**
 * 
* @ClassName: CircleModel 
* @Description: 因为逻辑简单，这里我就不写model的接口了
* @author yiw
* @date 2015-12-28 下午3:54:55 
 */
public class CircleModel {
	private Context context;
	
	public CircleModel( Context context){
		this.context =context;
	}

	public void loadData(final IDataRequestListener listener){
		requestServer(listener);
	}
	
	public void deleteCircle( final IDataRequestListener listener) {
		requestServer(listener);
	}

	public void addComment( final IDataRequestListener listener) {
		requestServer(listener);
	}

	public void deleteComment( final IDataRequestListener listener) {
		requestServer(listener);
	}

	private void requestServer(final IDataRequestListener listener) {
		if (listener!=null){
			listener.loadSuccess("");
		}
	}
	
}
